<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	
	<style type="text/css">
	*{
		margin:0px;
		padding:0px;
	}
	.top{
		width:100%; 
		height:35px; 
		line-height:35px; 
		font-size:12px;	
	}
	.top ul li{
		list-style:none;
		float:right;
		width:60px;
	}
	a{
		color:#06F;
		text-decoration:none;
	}
	a:hover{
		text-decoration:underline;
	}
	.show{
		display:block;
	}
	.hidden{
		display:none;
	}
	.show ul li{
		height:26px;
		line-height:26px;
		background:#FFF;
		padding-left:40px;
		font-size:13px;
		list-style: none;
	}
	.show ul li:hover{
		background:#EFEFEF;
	}
	.show ul li a{
		text-decoration: none;
	}
	.manager_nav{
		height:38px;
		color:#FFF;
		font-size:13px;
		font-weight:bold;
		line-height:36px;
		padding-left:12px;
		border-bottom:1px dashed #333;
	}
	table tr{
		height: 38px;
	}
	.msg{
		width:280px; 
		height:26px; 
		margin:-26px 250px; 
		position:absolute;
		color:red;
		font-size:2px;
	}
	.resultMsg{
		width:320px; 
		height:80px;
		font-size:30px;
		color:#093;
		font-weight:bold;
		background:#DFDFDF;
		line-height:80px;
		text-align:center;
		border-radius:10px;
		position:absolute;
		z-index:20;
	}
	</style>
</head>

<body>
	<div style="height:35px;;width:100%;border-bottom:1px solid #CCC; z-index:-1; position:absolute; background:#EFEFEF;"></div>
	<div style="width:1200px; margin:auto;">
		<!-- 顶部索引 -->
        <div class="top">
        	<div style="width:50%; float:left;">你好！欢迎进入中国报险网。</div>
            <div style="width:50%; float:right; text-align:right;">
				<jsp:include page="top2.jsp"></jsp:include>
            </div>
        </div>
        <!-- 后台提示信息 -->
		<input type="hidden" value="${requestScope.upMsg}" id="tips"/>
        <!-- 主体内容 -->
        <div style="width:100%; height:560px;  font-family: '微软雅黑' ">
            <div style="width: 1100px; height:530px; border:1px solid #406BDD; border-radius:10px; margin:38px 60px;">   
            	<!-- 左边菜单栏 -->
            	<div style="width:20%; height:100%; background:#406BDD; float:left; border-top-left-radius:10px; border-bottom-left-radius:10px;">         		       
            		<jsp:include page="left.jsp"></jsp:include>
            	</div>
            	<div style="width:80%; float:left; background:#EFEFEF; height:100%; border-top-right-radius:10px; border-bottom-right-radius:10px;">    
					<div style="width:95%; height:50px; background:#FFF; margin:6px auto; border:1px solid #888;"></div>
					<!-- 提示成功信息 -->
					<div class="succeed" id="succeed">${requestScope.succeedmsg}</div>
					<div style="margin:10px auto; background:#FFF; width:95%; border:1px solid #888;">
						<!-- 添加接案人信息 -->
						<form action="${pageContext.request.contextPath }/manager/Manager_upmanager.action" method="post" >
					    	<table border="0px">
						        <tr height="50px">
						            <td width="160px">&nbsp;接案员编号：</td>
						            <td width="380px">&nbsp;
						            	${manager.smid }						                
						            </td>
						        </tr>					    	
						        <tr height="50px">
						            <td width="160px">&nbsp;接案员：</td>
						            <td width="380px">&nbsp;
						                <input type="text" style="width: 220px; height: 32px; padding-left: 5px;" value="${manager.smname }" name="smname" id="staff" onBlur="Staff()"/>
						                <div class="msg" id="usernamemsg"></div>
						            </td>
						        </tr>
						        <tr height="50px">
						            <td>&nbsp;手机号码：</td>
						            <td>&nbsp;
						                <input type="text" style="width: 220px; height: 32px; padding-left: 5px;" value="${manager.smphone }" name="smphone" id="rpwd" onBlur="rPwd()"/>
						                <div class="msg" id="rpwdmsg"></div>
						            </td>
						        </tr>
						        <tr height="50px">
						            <td>&nbsp;部门：</td>
						            <td>&nbsp;
						            	<select name="sysdept.sdid">
							              	<s:iterator value="#request.sds" var="sd">							
												<option <s:if test="#request.manager.sysdept.sdname == #sd.sdname">selected="selected"</s:if> value="${sd.sdid }">${sd.sdname }</option>
											</s:iterator>
										</select>
						            </td>
						        </tr>	
				       			<tr height="50px">
						            <td>&nbsp;角色：</td>
						            <td>&nbsp;
					            		<s:iterator value="#request.srList" var="sr">
						            		<input type="checkbox" name="sysrole" <s:if test="#sr.checked">checked='checked'</s:if> value="<s:property value='#sr.srsid'/>"/><s:property value='#sr.srname'/>&nbsp;
										</s:iterator>  	
						            </td>
						        </tr>							        					        	
						        <tr height="50px">
						            <td>&nbsp;状态:</td>
						            <td>&nbsp;
						                <select name="smstauts">
						                    <option value="在职" <s:if test="#request.manager.smstauts == '在职'">selected="selected"</s:if>>在职</option>
						                    <option value="离职" <s:if test="#request.manager.smstauts == '离职'">selected="selected"</s:if>>离职</option>
						                </select>
						            </td>
						        </tr>						        
						        <tr height="50px">
						            <td>&nbsp;个人介绍：</td>
						            <td>&nbsp;
						                <textarea rows="5" cols="60" name="smdesc" style="padding:5px 5px;">${manager.smdesc }</textarea>
						            </td>
						        </tr>						        						        
						        <tr height="52px" align="center">
						            <td colspan="2">
						            	<input type="submit" value="确认" style="width: 120px; height: 32px; background:#406BDD; border: none; color: #FFF; font-size: 16px;"/>
						           		<a href="${pageContext.request.contextPath }/manager/Manager_query.action">
											<input type="button" style="width: 120px; height: 32px; background:#406BDD; border: none; color: #FFF; font-size: 16px;" value="返回"/>
										</a>
						           	</td>
						        </tr>
						    </table>
						</form>
					</div>
				</div> 
            </div>
        </div>
        <!-- 版权 -->
        <div style="width:100%; height:30px; text-align:center; line-height:30px; float:left; font-size:14px;">Copyright© 中国报险网 2007-2015，All Rights Reserved</div>
    </div>
    <script src="./js/util.js"></script>
</body>
</html>
